package com.example.demo1.repository;

import com.example.demo1.domain.Team;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TeamDao extends JpaRepository<Team, Long> {
    Team findByTeamName(String teamName);
    Team findByTeamId(Long captainId);
}

